package com.studentmanage.api.score;


import com.studentmanage.framework.domain.base.Score;
import com.studentmanage.framework.domain.base.ScoreExt;
import com.studentmanage.framework.domain.base.ScoreExt2;
import com.studentmanage.framework.domain.base.request.ScoreQueryRequest;
import com.studentmanage.framework.domain.common.response.QueryResult;
import com.studentmanage.framework.domain.common.response.ResponseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@Api(value = "成绩管理",description = "成绩管理接口")
public interface ScoreControllerApi {
    @ApiOperation("增加成绩记录")
    public ResponseResult addCourse(Score score);
    @ApiOperation("查询成绩列表")
    public QueryResult<ScoreExt> findScoreStudentList(String studentId, int page, int size, ScoreQueryRequest scoreQueryRequest);
    @ApiOperation("查询成绩列表2")
    public QueryResult<ScoreExt2> findScoreCourseList(String courseId, int page, int size, ScoreQueryRequest scoreQueryRequest2);
    @ApiOperation("查询导出列表")
    public QueryResult<ScoreExt> findScoreExclList(String studentId);
    @ApiOperation("修改成绩")
    public ResponseResult editScore(Score score);
    @ApiOperation("删除成绩")
    public ResponseResult deleteScore(Score score);
}
